/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconPetCalendarCheck: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M960 224v96H64v-96c0-53.02 42.98-96 96-96h96V62.2C256 28.8 284.8 0 320 0s64 28.8 64 62.2V128h256V62.2C640 28.8 668.8 0 704 0s64 28.8 64 62.2V128h96c53 0 96 42.98 96 96zM64 384h896v544c0 53-43 96-96 96H160c-53 0-96-43-96-96V384z m270 368.2l96 96c9 9 21.24 14.062 33.94 14.062 0.626 0 1.25 0 1.812-0.062a47.978 47.978 0 0 0 34.62-16.688l192-224c17.25-20.12 14.94-50.44-5.188-67.68-20.06-17.188-50.38-14.94-67.68 5.188l-158.26 184.68-59.38-59.38c-18.75-18.75-49.12-18.75-67.88 0S315.4 735.2 334 752.2z"
        fill={getIconColor(color, 0, '#4a90e2')}
      />
    </svg>
  );
};

IconPetCalendarCheck.defaultProps = {
  size: 30,
};

export default IconPetCalendarCheck;
